home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / CHIPCD_02_2002.iso / Internet / Macromedia ColdFusion Server 5 / coldfusion-50-win-us.exe / data1.cab / Examples / CFDOCS / snippets / cfassociate.cfm < prev    next >
Encoding:
Text File  |  2001-06-13  |  833 b   |  35 lines

  1. <!---  This view-only example illustrates
  2.        use of the CFASSOCIATE tag. --->
  3. <HTML>
  4. <HEAD>
  5. <TITLE>CFASSOCIATE</TITLE>
  6. </HEAD>
  7.  
  8. <BASEFONT FACE="Arial, Helvetica" SIZE=2>
  9. <BODY  bgcolor="#FFFFD5">
  10.  
  11. <H3>CFASSOCIATE</H3>
  12. <P>
  13. This example shows the code you might add to
  14. a sub-tag to associate it with the calling
  15. custom tag (displayed in the View Example pane).
  16. <!--- Find the context --->
  17. <!---
  18. <cfif thisTag.executionMode is "start">
  19. --->
  20.   <!--- Associate attributes 
  21.       This code occurs in a custom tagÆs 
  22.       sub tag. --->
  23. <!---
  24.     <CFASSOCIATE BASETAG="CF_TAGBASE">
  25. --->
  26.   <!--- Define defaults for attributes --->
  27. <!---
  28.   <cfparam name="attributes.happy" default="Yes">
  29.   <cfparam name="attributes.sad" default="No">
  30. --->
  31. <!--- Continue sub-tag processing --->
  32.  
  33. </BODY>
  34. </HTML>       
  35.